package com.personal.kotlinmvptest.module

import android.os.Bundle
import android.support.v7.app.AppCompatActivity
import com.personal.kotlinmvptest.R

class MainActivity : AppCompatActivity() {

    private lateinit var userPresenter: MainPreserter

    override fun onCreate(savedInstanceState: Bundle?) {
        super.onCreate(savedInstanceState)
        setContentView(R.layout.activity_main)

        var mFragment = MainFragment()
        var transition =  supportFragmentManager.beginTransaction()
        transition.add(R.id.fl_content,mFragment)
        transition.commit()


        userPresenter = MainPreserter(mFragment)
    }

}
